package com.py.credit.service;

import com.py.credit.common.Page;
import com.py.credit.entity.*;

import javax.servlet.http.HttpServletResponse;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

public interface IntegratedQueryService {

    List<Map<String, Object>> selectByConditionForPage(String status,String lingyu,String jclb, String type, List<String> showColumns, String[] additionalColumns, String condition, Page page);

    int selectFkDept(String ajbh);

    IntegratedQuery selectByAjbh(String ajbh);

    Companymess selectByTybm(String tybm, String type);

    Person selectZrrInfo(String idcard);

    List<Measure> selectCsByAjbhForPage(String type, int gzId, Page page);

    List<Feedback> feedBackListForPage(String ajbh, String managerId, Page page);

    List<DeptNum> selectNumForDept(String ajbh);

    List<Integer> selectDeptId(int gzId);

    int selectAllDept();

    List<Measure> selectFkCsByAjbh(String type, int gzId, String deptId);

    List<Map<String, String>> selectFeedBackInfo(String ajbh);

    int selectCyDeptIsAllDept(int gzId);

    String selectCyDeptName(int gzId);

    int selectExistAllDeptByAjbh(String ajbh);

    int selectNumForAllDept(String ajbh);

    void excelExport(HttpServletResponse response, String deptId, String jclb);

    void exportFkzbExcel(HttpServletResponse response, String ajbh);

    List<IntegratedQuery> getChartsDetailListForPage(String jclb, String ztmc, String startTime, String endTime, Page page);

    List<LinkedHashMap> selectFkzbListForPage(String ajbh,Page page);
    
    List<Map> getLhcj(String ztmc,String bm,String type);
}
